package com.huadi.ssm.dao;

import com.huadi.ssm.po.Uprecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UprecordMapper {
    public int addUprecord(Uprecord uprecord);
    public int deleteUprecordById(@Param("evidenceUpId") int evidenceUpId);
    public int checkUprecord(@Param("evidenceUpId") int evidenceUpId,@Param("judgerId")String judgerId,@Param("judgerName")String judgerName,@Param("judge")String judge,@Param("judgeReason")String judgeReason);
    public Uprecord findUprecordById(@Param("evidenceUpId") int evidenceUpId );
    public List<Uprecord> findAllUprecord();
    public List<Uprecord> findAllUprecordForFireman(@Param("submitterId") String submitterId);
}